<extend name="Public/base"/>
<block name="css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/default/music_index.css"/>
</block>

<block name="body">
	<div class="row visible-xs" style="margin-bottom:10px;">
		<div class="col-xs-12">
			<ul class="nav nav-tabs">
			   <li <if condition="$Think.get.sort eq '' || $Think.get.sort eq 'new'">class="active"</if>><a href="{:U('Music/index')}">最新</a></li>
			</ul>
		</div>
	</div>
	<div class="row video">
		<div class="hidden-xs col-sm-3 col-md-3 nav_left">
		<!-- hidden-xs -->
			<div class="section">
				<div class="header">音乐</div>
				<ul>
					<li <if condition="$Think.get.sort eq '' || $Think.get.sort eq 'new'">class="myselect"</if>><a href="{:U('Music/index')}">按最新排序</a></li>
				 </ul>
			</div>
			<div class="list_left_ad" style="margin-top:10px;">
				{$list_left_ad}
			</div>
			
		</div>
		<div class="col-sm-9 col-md-9">
			<span class="list_header hidden-xs">音乐列表</span>
			<ul class="video_list">
				<empty name="music">
					<div class="surprize">
						<img src="__PUBLIC__/img/surprize2.png" style="border-radius:100%;"/>
						<br>
						<h5>我和我的小伙伴们都震惊了，居然没有找到该类资源</h5>
					</div>
				</empty>
				<volist name="music" id="vo">
					<li>
						<a href="{:U('Detail/index',array('id'=>$vo['id']))}" target="_blank" title="{$vo.title}">{$vo.title}</a><br>
						<span>文件大小：{$vo.size}&nbsp;&nbsp;下载次数：{$vo.dCnt}&nbsp;&nbsp;转存次数：{$vo.tCnt}&nbsp;&nbsp;浏览次数：{$vo.vCnt}&nbsp;&nbsp;收录时间：{$vo.time|date="Y-m-d",###}</span>
					</li>
				</volist>
			</ul>
			{$page}
		</div>
	</div>
</block>